#ifdef __cplusplus
extern "C" {
#endif

#include "sal.h"
#include "ctc_cli.h"
#include "ctc_dkit.h"

extern int32
ctc_tmm_dkit_misc_serdes_status(uint8 lchip, uint16 serdes_id, uint32 type, char* file_name);

extern int32 
ctc_tmm_dkit_misc_serdes_resert(uint8 lchip, uint16 serdes_id);

extern int32
ctc_tmm_dkit_misc_read_serdes(void* para);

extern int32 
ctc_tmm_dkit_misc_write_serdes(void* para);

extern int32
ctc_tmm_dkit_misc_serdes_ctl(void* p_para);

extern int32
ctc_tmm_dkit_misc_serdes_fw_reg(uint8 lchip, uint32 fw_addr_raw, uint32 val_raw, uint8 serdes_id, uint16 section);

extern int32
ctc_tmm_dkit_misc_serdes_dump_exit_code(uint8 lchip, uint8 serdes_id);

extern int32
ctc_tmm_dkit_misc_serdes_diag(uint8 lchip, void* para);

#ifdef __cplusplus
}
#endif

